import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import "virtual:svg-icons-register";
import "element-plus/dist/index.css";
import "uno.css";
import { createPinia } from "pinia";
// main.ts
import router from "@/router";
import i18n from "@/lang/index";
import '@/router/permission'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
	app.component(key, component)
  }
app.use(createPinia());
app.use(router);
app.use(i18n);
app.mount("#app");
